module.exports = {
    devServer: {
        open: true,                                   //是否自动弹出浏览器页面
        https: false,
        proxy: {
            '/college': {                             //这里最好有一个 /
                target: 'http://192.168.2.203:5791',  //后台接口域名
                changeOrigin: true,                   //是否跨域
                PathRewrite:{
                    '^/college':''
                }
            },
            '/auth': {
                target: 'http://192.168.2.203:5791',
                changeOrigin: true,
                PathRewrite:{
                    '^/auth':''
                }
            },
            '/rm': {
                target: 'http://192.168.2.203:5791',
                changeOrigin: true,
                PathRewrite:{
                    '^/rm':''
                }
            }
        },
        disableHostCheck: true
    }
};